package cn.ytr.project.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.ytr.project.domain.AdminUser;

public interface AdminUserMapper {
	AdminUser selectByUsernameAndPassword(@Param("username")String username, @Param("password")String password);
	AdminUser selectByUsername(@Param("username")String username);
	AdminUser selectById(@Param("id")Long id);
	
	List<AdminUser> selectForList();
	
	void insert(AdminUser adminUser);
	void update(AdminUser adminUser);
}
